package com.bnz.service.impl;

import com.bnz.dao.ClassesDao;
import com.bnz.entity.Classes;
import com.bnz.service.IClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xy
 * @date 2022/10/25
 */
@Service
public class ClassesServiceImpl implements IClassesService {
    @Autowired
    ClassesDao classesDao;
    @Override
    public List<Classes> queryAll() {
        return classesDao.findAll();
    }
}
